import request from '@/http/request.js'

export const getDataType = (params) =>
  request({ url: `/sys_data_dict/getDataDictByType/${params.type}` })

export const getCommonData = (params) =>
  request({ url: '/sys_data_type/page', params })
